package ioc.ssm;

import org.springframework.stereotype.Controller;

import javax.annotation.Resource;
import javax.inject.Inject;

/**
 * @see Controller
 * 名字默认是类名首字母小写
 */
@Controller
public class BookController {

    @Resource(name = "bookService")
    private BookService bookService;

    @Inject
    private BookDao bookDao;
}